package com.educhains.module.certification.service;

import com.educhains.module.certification.vo.CourseCertification;

import java.util.List;

/**
 * User: Devin
 * Date: 2017/11/17
 * Description:
 */

public interface CourseCertificationService {

    int certify(CourseCertification courseCertification);

    List<CourseCertification> getCertificationByUserId(String userId);

    List<CourseCertification> getCertificationByCourseId(Integer courseId);

    CourseCertification getCertificationByFileHash(String fileHash);
}
